From 76d84e88e052c90cd5ea5508ff9ccfdd894993b9 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 27 Jun 2007 19:59:21 +0100 Subject: [PATCH] Remove incorrect __init prefixes Following functions can be __init in Linux, however shouldn't in Xen. __print_IO_APIC is called by keyhandler, while setup_ioapic_dest is invoked in one platform hypercall. Signed-off-by Kevin Tian --- xen/arch/x86/io_apic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/arch/x86/io_apic.c b/xen/arch/x86/io_apic.c index 5aff60f52b..5f4665238b 100644 --- a/xen/arch/x86/io_apic.c +++ b/xen/arch/x86/io_apic.c @@ -371,7 +371,7 @@ static int pin_2_irq(int idx, int apic, int pin); * so mask in all cases should simply be TARGET_CPUS */ #ifdef CONFIG_SMP -void __init setup_ioapic_dest(void) +void /*__init*/ setup_ioapic_dest(void) { int pin, ioapic, irq, irq_entry; @@ -849,7 +849,7 @@ static inline void UNEXPECTED_IO_APIC(void) { } -void __init __print_IO_APIC(void) +void /*__init*/ __print_IO_APIC(void) { int apic, i; union IO_APIC_reg_00 reg_00; -- 2.30.2